<div class="genders view">
<h2><?php  __('Gender');?></h2>
	<dl><?php $i = 0; $class = ' class="altrow"';?>
		<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('Id'); ?></dt>
		<dd<?php if ($i++ % 2 == 0) echo $class;?>>
			<?php echo $gender['Gender']['id']; ?>
			&nbsp;
		</dd>
		<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('Name'); ?></dt>
		<dd<?php if ($i++ % 2 == 0) echo $class;?>>
			<?php echo $gender['Gender']['name']; ?>
			&nbsp;
		</dd>
	</dl>
</div>
<div class="actions">
	<ul>
		<li><?php echo $html->link(__('Edit Gender', true), array('action' => 'edit', $gender['Gender']['id'])); ?> </li>
		<li><?php echo $html->link(__('Delete Gender', true), array('action' => 'delete', $gender['Gender']['id']), null, sprintf(__('Are you sure you want to delete # %s?', true), $gender['Gender']['id'])); ?> </li>
		<li><?php echo $html->link(__('List Genders', true), array('action' => 'index')); ?> </li>
		<li><?php echo $html->link(__('New Gender', true), array('action' => 'add')); ?> </li>
		<li><?php echo $html->link(__('List Studentinfos', true), array('controller' => 'studentinfos', 'action' => 'index')); ?> </li>
		<li><?php echo $html->link(__('New Studentinfo', true), array('controller' => 'studentinfos', 'action' => 'add')); ?> </li>
	</ul>
</div>
<div class="related">
	<h3><?php __('Related Studentinfos');?></h3>
	<?php if (!empty($gender['Studentinfo'])):?>
	<table cellpadding = "0" cellspacing = "0">
	<tr>
		<th><?php __('Id'); ?></th>
		<th><?php __('Student Id'); ?></th>
		<th><?php __('Gender Id'); ?></th>
		<th><?php __('Citizenship Id'); ?></th>
		<th><?php __('Region Id'); ?></th>
		<th><?php __('Educationdoctype Id'); ?></th>
		<th><?php __('Learningform Id'); ?></th>
		<th><?php __('Learningtype Id'); ?></th>
		<th><?php __('Foreignlanguage Id'); ?></th>
		<th><?php __('Enrollment Date'); ?></th>
		<th><?php __('Lastname'); ?></th>
		<th><?php __('Firstname'); ?></th>
		<th><?php __('Surname'); ?></th>
		<th><?php __('Photo'); ?></th>
		<th><?php __('Birthdate'); ?></th>
		<th><?php __('Passport Ser'); ?></th>
		<th><?php __('Passport Num'); ?></th>
		<th><?php __('Passport Data'); ?></th>
		<th><?php __('Passport Birth Place'); ?></th>
		<th><?php __('Passport Adress'); ?></th>
		<th><?php __('Adress'); ?></th>
		<th><?php __('Schoolgraduated'); ?></th>
		<th><?php __('Educationdocdata'); ?></th>
		<th><?php __('Phone'); ?></th>
		<th><?php __('Mobile'); ?></th>
		<th><?php __('Email'); ?></th>
		<th><?php __('Inn'); ?></th>
		<th><?php __('Insurance'); ?></th>
		<th><?php __('Pension Certificate'); ?></th>
		<th><?php __('Inoculations'); ?></th>
		<th><?php __('Moreinfo'); ?></th>
		<th><?php __('Created'); ?></th>
		<th><?php __('Modified'); ?></th>
		<th class="actions"><?php __('Actions');?></th>
	</tr>
	<?php
		$i = 0;
		foreach ($gender['Studentinfo'] as $studentinfo):
			$class = null;
			if ($i++ % 2 == 0) {
				$class = ' class="altrow"';
			}
		?>
		<tr<?php echo $class;?>>
			<td><?php echo $studentinfo['id'];?></td>
			<td><?php echo $studentinfo['student_id'];?></td>
			<td><?php echo $studentinfo['gender_id'];?></td>
			<td><?php echo $studentinfo['citizenship_id'];?></td>
			<td><?php echo $studentinfo['region_id'];?></td>
			<td><?php echo $studentinfo['educationdoctype_id'];?></td>
			<td><?php echo $studentinfo['learningform_id'];?></td>
			<td><?php echo $studentinfo['learningtype_id'];?></td>
			<td><?php echo $studentinfo['foreignlanguage_id'];?></td>
			<td><?php echo $studentinfo['enrollment_date'];?></td>
			<td><?php echo $studentinfo['lastname'];?></td>
			<td><?php echo $studentinfo['firstname'];?></td>
			<td><?php echo $studentinfo['surname'];?></td>
			<td><?php echo $studentinfo['photo'];?></td>
			<td><?php echo $studentinfo['birthdate'];?></td>
			<td><?php echo $studentinfo['passport_ser'];?></td>
			<td><?php echo $studentinfo['passport_num'];?></td>
			<td><?php echo $studentinfo['passport_data'];?></td>
			<td><?php echo $studentinfo['passport_birth_place'];?></td>
			<td><?php echo $studentinfo['passport_adress'];?></td>
			<td><?php echo $studentinfo['adress'];?></td>
			<td><?php echo $studentinfo['schoolgraduated'];?></td>
			<td><?php echo $studentinfo['educationdocdata'];?></td>
			<td><?php echo $studentinfo['phone'];?></td>
			<td><?php echo $studentinfo['mobile'];?></td>
			<td><?php echo $studentinfo['email'];?></td>
			<td><?php echo $studentinfo['inn'];?></td>
			<td><?php echo $studentinfo['insurance'];?></td>
			<td><?php echo $studentinfo['pension_certificate'];?></td>
			<td><?php echo $studentinfo['inoculations'];?></td>
			<td><?php echo $studentinfo['moreinfo'];?></td>
			<td><?php echo $studentinfo['created'];?></td>
			<td><?php echo $studentinfo['modified'];?></td>
			<td class="actions">
				<?php echo $html->link(__('View', true), array('controller' => 'studentinfos', 'action' => 'view', $studentinfo['id'])); ?>
				<?php echo $html->link(__('Edit', true), array('controller' => 'studentinfos', 'action' => 'edit', $studentinfo['id'])); ?>
				<?php echo $html->link(__('Delete', true), array('controller' => 'studentinfos', 'action' => 'delete', $studentinfo['id']), null, sprintf(__('Are you sure you want to delete # %s?', true), $studentinfo['id'])); ?>
			</td>
		</tr>
	<?php endforeach; ?>
	</table>
<?php endif; ?>

	<div class="actions">
		<ul>
			<li><?php echo $html->link(__('New Studentinfo', true), array('controller' => 'studentinfos', 'action' => 'add'));?> </li>
		</ul>
	</div>
</div>
